<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><s:text name="operLog.list.title"/></title>
	<%@ include file="/common/meta.jsp"%>
	<%@ include file="/common/common.jsp"%>
 
<head>
<body>
<div id="wrapper">
<div id="main_box">
	<div class="curmb"><s:text name="your.site.position"/>:<a href="${ctx}/main.action"><s:text name="homepage"/></a><span>></span><s:text name="operLog.title"/></div>
	<div class="listtit" id="listtit"><p><span><strong><s:text name="operLog.list.title"/></strong></span></p></div>
	<s:form action="operlog-list.action" id="search_form">
	<div class="searchbox">
<table class=searchTable>
	<tbody id="searchTable">
	  <tr>
	    <td><label for="search" class="labelKeywords"><s:text name="key.words"/>:</label></td>
	    <td colspan="4"><s:textfield name="operLog.keywords"  cssClass="txtsearch" id="qry_operKeywords"  maxlength="60" /></td>
	    <td><input type="button" value="<s:text name="query"/>" class="btnsearch" id="search_btn"/></td>
	  </tr>
	  <tr>
	    <td><label for="qry_operObjectId"><s:text name="operLog.operObjectId"/>:</label></td>
	    <td><s:textfield name="operLog.operObjectId"  cssClass="txtsearch" id="qry_operObjectId"  maxlength="30"  /></td>
	    <td><label for="qry_operIp"><s:text name="operLog.operIp"/>:</label></td>
	    <td><s:textfield name="operLog.operIp"  cssClass="txtsearch" id="qry_operIp"  maxlength="30"  /></td>
	    <td><label for="qry_operAct"><s:text name="operLog.operAct"/>: </label></td>
	    <td><s:select list="operActs" name="operLog.operAct" listKey="value" listValue="value" cssClass="selectClass" headerKey="0" headerValue="请选择操作动作"></s:select></td>
	  </tr>
	  <tr>
	    <td><label for="qry_operFunc"><s:text name="operLog.operFunc"/>: </label></td>
	    <td><s:select list="modules" name="operLog.operFunc" listKey="value" listValue="value" cssClass="selectClass" headerKey="0" headerValue="请选择模块"></s:select></td>
	    <td><label for="qry_startTime"><s:text name="startTime"/>: </label></td>
	    <td><input name="operLog.startTime"  class="Wdate w140" id="qry_startTime" readonly="true"  value="<s:property value="%{formatDate(operLog.startTime)}"/>"
							onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'qry_endTime\')||\'2030-10-01\'}',skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text"/></td>
	    <td><label for="qry_endTime"><s:text name="endTime"/>: </label></td>
	    <td><input name="operLog.endTime"  class="Wdate w140" id="qry_endTime" readonly="true"  value="<s:property value="%{formatDate(operLog.endTime)}"/>"
							onFocus="WdatePicker({minDate:'#F{$dp.$D(\'qry_startTime\')}',skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text"/></td>
	  </tr>
	</tbody>
</table>
		<div class="clear"></div>
	</div>
 
	<div class="listbox" id="listbox">
		<table class="listgrid" id="listbox">
			<tbody>
				<tr>					
					<th><s:text name="operLog.operAct"/></th>
					<th><s:text name="operLog.operTime"/></th>
					<th><s:text name="operLog.operIp"/></th>
					<th><s:text name="operLog.operFunc"/></th>
					<th>内容</th>
					<th><s:text name="operLog.loginName"/></th>
					<th><s:text name="operLog.realName"/></th>
				</tr>
				<s:iterator value="page.result">
					<tr>
					<td><s:property value="operAct"/>&nbsp;</td>
					<td nowrap="nowrap"><s:date name="operTime" format="MM-dd HH:mm:ss"/>&nbsp;</td>
					<td><s:property value="operIp"/>&nbsp;</td>
					<td><s:property value="operFunc"/>&nbsp;</td>
					<td name="memo" class="left w30p"><s:property value="memo"/>&nbsp;</td>
					<td><s:property value="loginName"/>&nbsp;</td>
					<td><s:property value="realName"/>&nbsp;</td>
					</tr>
				</s:iterator>
			</tbody>
		</table>
		
	</div>
	<div class="listoperateb ">
		<div class="pager fr"><z:page numberNav="true" selectPageSize="true" input="true" id="ctrl"/></div>
	</div>
	</s:form>
</div>
</div>
</body>
</html>
<script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" defer="defer">
	actionName = "operlog";	
	confirmStr = "<s:text name="delete.confirm"/>";
	chiocenothing = "<s:text name="chiocenothing"/>";
	$(function(){
 		$("#top_new_btn").click(goNew);
 		$("#top_anti_btn").click(antiSelect);
 		$("#top_del_btn").click(goBatchDel);
 		$("#bottom_del_btn").click(goBatchDel);
 		$("#bottom_anti_btn").click(antiSelect);
		$("#search_btn").click(search);
		$("#all_check").click(selAll);
		$("#extend").click(extend);
		
	});
	$(function(){
		if ($.browser.msie) {
			$('#main_box').width($('#main_box').width()-25);
		}
	});

 
	</script>